package com.bootdo.sz.service;

import com.bootdo.sz.domain.BDSumDO;
import com.bootdo.sz.domain.BdDO;

import java.util.List;
import java.util.Map;

/**
 * 索致网络科技-保单表
 * 
 * @author zhuzi
 * @email zhuzhaoyong1991@163.com
 * @date 2019-09-06 17:27:36
 */
public interface BdService {
	
	BdDO get(Long id);
	
	List<BdDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(BdDO bd);
	
	int update(BdDO bd);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);

	int saveBd(BdDO bd);

	BdDO getBD(String productNo, String vinCode);

	List<BDSumDO> bdSumList(Map<String, Object> params);

	BDSumDO bdSum(Map<String, Object> params);
}
